package pattern.mediator;

/**
 * 可以被切的苹果
 *
 * @author sun.ye
 * @since 2020-07-16 15:23
 */
public class Apple implements CutHandle {


    @Override
    public String getJuice() {
        return this.getClass().getName() + ": oh! it's my juice !";
    }

    @Override
    public String getPiece() {
        return this.getClass().getName() + ": I ! DIE !";
    }
}